package org.cmind.soap.android.envelope;

public class EnvelopeBuilderHelper {

    public static EnvelopeBuilder getEnvelopeBuilder(SoapVersion version) {
        switch (version) {
        case V1_1:
            return new Soap11EnvelopeBuilder();

        case V1_2:
            return new Soap12EnvelopeBuilder();
            
        default:
            
            return new Soap11EnvelopeBuilder();
        }
    }

}
